package com.xhu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "saleplan")
@Accessors(chain = true)
public class Saleplan {
    /**
     * 计划id
     */
    @TableId(value = "saleplan_id", type = IdType.NONE)
    private String saleplanId;



    /**
     * 状态
     */
    @TableField(value = "status_name")
    private String statusName;

    /**
     * 计划人姓名
     */
    @TableField(value = "planner_name")
    private String plannerName;

    /**
     * 月份/计划日期
     */
    @TableField(value = "plan_month")
    private String planMonth;

    /**
     * 计划编码
     */
    @TableField(value = "saleplan_code")
    private String saleplanCode;

    /**
     * 最后一次修改时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    /**
     * 处理人
     */
    @TableField(value = "current_name")
    private String currentName;

    /**
     * 操作人
     */
    @TableField(value = "plan_operator")
    private String planOperator;

    /**
     * 内容
     */
    @TableField(value = "plan_contect")
    private String planContect;


    @TableLogic
    @TableField(value = "is_delete")
    private Integer isDelete;

    public static final String COL_SALEPLAN_ID = "saleplan_id";

    public static final String COL_EMP_NAME = "emp_name";

    public static final String COL_STATUS_NAME = "status_name";

    public static final String COL_PLANNER_NAME = "planner_name";

    public static final String COL_PLAN_MONTH = "plan_month";

    public static final String COL_SALEPLAN_CODE = "saleplan_code";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_CURRENT_NAME = "current_name";

    public static final String COL_PLAN_OPERATOR = "plan_operator";
}